package cn.hairui.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 留言回复表
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-20
 */
public class Messagereply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 消息编号
     */
    @TableField("MSGID")
    private Integer msgid;

    /**
     * 发消息用户
     */
    @TableField("FROMACCOUNT")
    private String fromaccount;

    /**
     * 收消息用户
     */
    @TableField("TOACCOUNT")
    private String toaccount;

    /**
     * 留言内容
     */
    @TableField("CONTENT")
    private String content;

    /**
     * 回复时间
     */
    @TableField("REPLYTIME")
    private String replytime;

    /**
     * 状态
     */
    @TableField("STATUS")
    private String status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMsgid() {
        return msgid;
    }

    public void setMsgid(Integer msgid) {
        this.msgid = msgid;
    }

    public String getFromaccount() {
        return fromaccount;
    }

    public void setFromaccount(String fromaccount) {
        this.fromaccount = fromaccount;
    }

    public String getToaccount() {
        return toaccount;
    }

    public void setToaccount(String toaccount) {
        this.toaccount = toaccount;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReplytime() {
        return replytime;
    }

    public void setReplytime(String replytime) {
        this.replytime = replytime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Messagereply{" +
        "id=" + id +
        ", msgid=" + msgid +
        ", fromaccount=" + fromaccount +
        ", toaccount=" + toaccount +
        ", content=" + content +
        ", replytime=" + replytime +
        ", status=" + status +
        "}";
    }
}
